package com.baosight.risk.service.rire.entity;

import com.baosight.risk.base.entity.BaseEntity;
import com.baosight.risk.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIRE_RISK_WARNING_STATUS
 * 重点风险披露报告
 */
@Data
@ApiModel
@Table(name = "T_RIRE_RISK_WARNING_STATUS")
public class RireRiskWarningStatus extends BaseEntity {

    /**
     * 预警模型
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    WARNING_MODEL_GUID
     * Nullable:  true
     */
    @ApiModelProperty("预警模型")
    @Column(name = "WARNING_MODEL_GUID")
    private String warningModelGuid;

    /**
     * 重点风险ID
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    IMPORT_GUID
     * Nullable:  true
     */
    @ApiModelProperty("重点风险ID")
    @Column(name = "IMPORT_GUID")
    private String importGuid;

    /**
     * 风险点ID
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    RISK_ID
     * Nullable:  false
     */
    @ApiModelProperty("风险点ID")
    @Column(name = "RISK_ID")
    private String riskId;

    /**
     * 预警模型修改原因
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    UPDATE_REASON
     * Nullable:  false
     */
    @ApiModelProperty("预警模型修改原因")
    @Column(name = "UPDATE_REASON")
    private String updateReason;

    /**
     * 应对措施
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    STRATEGY
     * Nullable:  false
     */
    @ApiModelProperty("应对措施")
    @Column(name = "STRATEGY")
    private String strategy;

    /**
     * 本期预警状态
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    WARING_STATUS
     * Nullable:  true
     */
    @ApiModelProperty("本期预警状态")
    @Column(name = "WARING_STATUS")
    private String waringStatus;

    /**
     * 下期预警状态
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    NEXT_WARING_STATUS
     * Nullable:  true
     */
    @ApiModelProperty("下期预警状态")
    @Column(name = "NEXT_WARING_STATUS")
    private String nextWaringStatus;

    /**
     * 预判依据
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    WARNING_ACCORDING
     * Nullable:  true
     */
    @ApiModelProperty("预判依据")
    @Column(name = "WARNING_ACCORDING")
    private String warningAccording;

    /**
     * 年度
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    ACCT_YEAR
     * Nullable:  true
     */
    @ApiModelProperty("年度")
    @Column(name = "ACCT_YEAR")
    private String acctYear;

    /**
     * 季度
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    QUARTER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("季度")
    @Column(name = "QUARTER_CODE")
    private String quarterCode;

    /**
     * 季度
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    QUARTER_NAME
     * Nullable:  true
     */
    @ApiModelProperty("季度")
    @Column(name = "QUARTER_NAME")
    private String quarterName;

    /**
     * 排序
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
//    private String rowOrder;
    private  Integer rowOrder;
    /**
     * 重点风险披露报告状态
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    STATUS
     * Nullable:  true
     */
    @ApiModelProperty("重点风险状态")
    @Column(name = "STATUS")
    private String status;

    /**
     * 重点风险披露报告状态态说明
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    STATUS_NAME
     * Nullable:  true
     */
    @ApiModelProperty("重点风险状态说明")
    @Column(name = "STATUS_NAME")
    @Excel(name = "重点风险状态")
    private String statusName;

    /**
     * 编辑人
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    EDIT_PERSON
     * Nullable:  true
     */
    @ApiModelProperty("编辑人")
    @Column(name = "EDIT_PERSON")
    private String editPerson;

    /**
     * 本期预警结果-先行指标
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    WARING_STATUS_A
     * Nullable:  true
     */
    @ApiModelProperty("本期预警结果-先行指标")
    @Column(name = "WARING_STATUS_A")
    private String waringStatusA;

    /**
     * 下期预警结果-先行指标
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    NEXT_WARING_STATUS_A
     * Nullable:  true
     */
    @ApiModelProperty("下期预警结果-先行指标")
    @Column(name = "NEXT_WARING_STATUS_A")
    private String nextWaringStatusA;

    /**
     * 本期预警结果-日常指标
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    WARING_STATUS_B
     * Nullable:  true
     */
    @ApiModelProperty("本期预警结果-日常指标")
    @Column(name = "WARING_STATUS_B")
    private String waringStatusB;

    /**
     * 下期预警结果-日常指标
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    NEXT_WARING_STATUS_B
     * Nullable:  true
     */
    @ApiModelProperty("下期预警结果-日常指标")
    @Column(name = "NEXT_WARING_STATUS_B")
    private String nextWaringStatusB;

    /**
     * 审核人工号
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    GROUP_USER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("审核人工号")
    @Column(name = "GROUP_USER_CODE")
    private String groupUserCode;

    /**
     * 审核人姓名
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    GROUP_USER_NAME
     * Nullable:  true
     */
    @ApiModelProperty("审核人姓名")
    @Column(name = "GROUP_USER_NAME")
    private String groupUserName;

    /**
     * 审批人工号
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    DEPT_USER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("审批人工号")
    @Column(name = "DEPT_USER_CODE")
    private String deptUserCode;

    /**
     * 审批人姓名
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    DEPT_USER_NAME
     * Nullable:  true
     */
    @ApiModelProperty("审批人姓名")
    @Column(name = "DEPT_USER_NAME")
    private String deptUserName;

    /**
     * 管理单位编码
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    MANAGE_COMP_CODE
     * Nullable:  true
     */
    @Column(name = "MANAGE_COMP_CODE")
    private String manageCompCode;

    /**
     * 管理单位名称
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    MANAGE_COMP_NAME
     * Nullable:  true
     */
    @Column(name = "MANAGE_COMP_NAME")
    private String manageCompName;

    /**
     * 自定义预警模型编码
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    WARNING_MODEL_CODE
     * Nullable:  true
     */
    @ApiModelProperty("自定义预警模型编码")
    @Column(name = "WARNING_MODEL_CODE")
    private String warningModelCode;

    /**
     * 自定义预警模型说明
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    WARNING_MODEL_NAME
     * Nullable:  true
     */
    @ApiModelProperty("自定义预警模型说明")
    @Column(name = "WARNING_MODEL_NAME")
    private String warningModelName;

    /**
     * 自定义预警模型-查看链接
     *
     * Table:     T_RIRE_RISK_WARNING_STATUS
     * Column:    WARNING_MODEL_URL
     * Nullable:  true
     */
    @ApiModelProperty("自定义预警模型-查看链接")
    @Column(name = "WARNING_MODEL_URL")
    private String warningModelUrl;

}